import { axios } from "../../../utils/request";

const api = {
    list: "/crm/callSettings/list",   
    batchSave: "/crm/callSettings/batchSave"
};


/**
 * 列表
 */
export function list(parameter) {
    return axios({
        url: api.list,
        method: "get",
        params: parameter
    });
  }

/**
 * 批量 保存
 */
export function batchSave(data) {
  return axios({
    url: api.batchSave,
    method: "post",
    data: data
  });
}
